import server from '../utils/request'

const getCart = async () => {
  const res = await server({
    url: '/api/wx/cart/index',
    headers: {
      'x-litemall-token': localStorage.getItem('Authorization')
    }
  })
  return {
    ...res
  }
}

export default getCart
